

{% for message in messages %}
<div class="message">
	<span>
		{% if message.userX_send_bool %} {{message.userX_handle}}: {% else %} {{message.userO_handle}}: {% endif %}
	</span>
	<div>
		{% if message.userX_send_bool %} {{message.chatX}} {% else %} {{message.chatO}} {% endif %}
	</div>
</div>
{% endfor %}